stylecontext: Use correct parent on updates
authorBenjamin Otte <otte@redhat.com>
Mon, 5 Jan 2015 04:57:45 +0000 (05:57 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 7 Jan 2015 13:26:48 +0000 (14:26 +0100)
commitef9aa8b0aea3c0ef02727a1ed0643ffd4f77e347
treec45227fbf92d2b5ae480269487339e81725f067a
parent89b5d1541566043b56bd000770d8634cbae22d64
stylecontext: Use correct parent on updates

Previously we looked at the save/restore state when determining the
parent. This is wrong in the case where we're updating the cache though.

So we now save the parent in the style info.
gtk/gtkstylecontext.c